package com.ruoyi.recipe.service;

import java.util.List;
import com.ruoyi.recipe.domain.RecipeDishMeal;

/**
 * 婴儿辅食Service接口
 * 
 * @author ruoyi
 * @date 2024-12-10
 */
public interface IRecipeDishMealService 
{
    /**
     * 查询婴儿辅食
     * 
     * @param mealId 婴儿辅食主键
     * @return 婴儿辅食
     */
    public RecipeDishMeal selectRecipeDishMealByMealId(Long mealId);

    /**
     * 查询婴儿辅食列表
     * 
     * @param recipeDishMeal 婴儿辅食
     * @return 婴儿辅食集合
     */
    public List<RecipeDishMeal> selectRecipeDishMealList(RecipeDishMeal recipeDishMeal);

    /**
     * 新增婴儿辅食
     * 
     * @param recipeDishMeal 婴儿辅食
     * @return 结果
     */
    public int insertRecipeDishMeal(RecipeDishMeal recipeDishMeal);

    /**
     * 批量新增婴儿辅食
     *
     * @param list 婴儿辅食集合
     * @return 结果
     */
    public int batchInsertRecipeDishMeal(List<RecipeDishMeal> list);

    /**
     * 修改婴儿辅食
     * 
     * @param recipeDishMeal 婴儿辅食
     * @return 结果
     */
    public int updateRecipeDishMeal(RecipeDishMeal recipeDishMeal);

    /**
     * 批量删除婴儿辅食
     * 
     * @param mealIds 需要删除的婴儿辅食主键集合
     * @return 结果
     */
    public int deleteRecipeDishMealByMealIds(String mealIds);

    /**
     * 删除婴儿辅食信息
     * 
     * @param mealId 婴儿辅食主键
     * @return 结果
     */
    public int deleteRecipeDishMealByMealId(Long mealId);

    /**
     * 删除某个菜品的婴儿辅食
     *
     * @param dishId 菜品ID
     * @return 结果
     */
    public int deleteRecipeDishMealByDishId(Long dishId);

    /**
     * 删除多个菜品的婴儿辅食
     *
     * @param dishIds 菜品ID数组
     * @return 结果
     */
    public int deleteRecipeDishMealByDishIds(String[] dishIds);
}
